package com.bjpowernode.crm.workbench.mapper;

import com.bjpowernode.crm.workbench.domain.ClueRemark;

import java.util.List;

public interface ClueRemarkMapper {

    int deleteByPrimaryKey(String id);
    //根据clueId进行删除
    int deleteByClueId(String clueId);

    int insert(ClueRemark record);

    int insertSelective(ClueRemark record);

    ClueRemark selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ClueRemark record);

    int updateByPrimaryKey(ClueRemark record);
    //根据线索id查找备注xinix
    List<ClueRemark> selectByClueId(String clueId);
}